#include <iostream>
using namespace std;

int main() {
    int x, y;
    string opt;
    cin >> x >> y >> opt;

    if (y == 0)
    {
        cout << "Divided by zero!";
        return 0;
    }
    if (opt == "+")
    {
        cout << int(x + y);
    }
    else if (opt == "-")
    {
        cout << int(x - y);
    }
    else if (opt == "*")
    {
        cout << int(x * y);
    }
    else if (opt == "/")
    {
        cout << int(x / y);
    }
    else {
        cout << "Invalid operator!";
    }
    
    return 0;
}